﻿// Decompiled with JetBrains decompiler
// Type: JetBrains.Annotations.LocalizationRequiredAttribute
// Assembly: TaleWorlds.MountAndBlade, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: D5209D1B-76B5-47CA-B957-255CD4B2CE6B
// Assembly location: D:\steam\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.dll

using System;

#nullable disable
namespace JetBrains.Annotations
{
  [AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
  public sealed class LocalizationRequiredAttribute : Attribute
  {
    public LocalizationRequiredAttribute(bool required) => this.Required = required;

    [UsedImplicitly]
    public bool Required { get; set; }

    public override bool Equals(object obj)
    {
      return obj is LocalizationRequiredAttribute requiredAttribute && requiredAttribute.Required == this.Required;
    }

    public override int GetHashCode() => base.GetHashCode();
  }
}
